-- GENERATED SPELL FOR [Hazzali Wasp] --


function spell0_5441(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5441', 30000, 1)
end

function Sorts_5441(pUnit, Event)
local choix_sorts_5441 = math.random(0, 0)
if choix_sorts_5441 == 0 then
pUnit:RegisterEvent('spell0_5441', 1, 1)
end
end

function mob5441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5441', math.random(1500, 3000), 1)
end

function mob5441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5441, 1, 'mob5441_Action')
RegisterUnitEvent(5441, 2, 'mob5441_Leave')
RegisterUnitEvent(5441, 3, 'mob5441_Kill')
RegisterUnitEvent(5441, 4, 'mob5441_Die')
